import request from '@/utils/request'

// 设备状态
export function getDeviceState(prodLineName) {
  return request({
    url: `report/productionKanban/DeviceState?name=${prodLineName}`,
    method: 'get'
  })
}
// 综合出勤
export function getSynthesize(prodLineName) {
  return request({
    url: `report/productionKanban/Synthesize?name=${prodLineName}`,
    method: 'get'
  })
}
// 品质安灯
export function getAndonObject(prodLineName) {
  return request({
    url: `report/productionKanban/AndonObject?name=${prodLineName}`,
    method: 'get'
  })
}
// 绩效
export function postPersonQty(data,prodLineName) {
  return request({
    url: `report/productionKanban/PersonQty?name=${prodLineName}`,
    method: 'post',
    data
  })
}
